package com.ruoyi.emergencyplan.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应急预案——应急预案对象 ep_emergency_plan
 * 
 * @author hcc
 * @date 2023-12-17
 */
public class EpEmergencyPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应急预案ID */
    private String planId;

    /** 预案编号 */
    @Excel(name = "预案编号")
    private String planCode;

    /** 预案名称 */
    @Excel(name = "预案名称")
    private String planName;

    /** 预案类型ID */
    @Excel(name = "预案类型ID")
    private String planTypeId;

    /** 预案类型 */
    @Excel(name = "预案类型")
    private String planType;

    /** 预案等级ID */
    @Excel(name = "预案等级ID")
    private String planLevelId;

    /** 预案等级 */
    @Excel(name = "预案等级")
    private String planLevel;

    /** 备案编号 */
    @Excel(name = "备案编号")
    private String recordCode;

    /** 签发人ID */
    @Excel(name = "签发人ID")
    private String signerId;

    /** 签发人 */
    @Excel(name = "签发人")
    private String signer;

    /** 备案时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "备案时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordTime;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createByName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateByName;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 排序 */
    @Excel(name = "排序")
    private Long sorting;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)； */
    @Excel(name = "状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)；")
    private String status;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String extra1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extra2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String extra3;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String extra4;

    /** 所属单位ID */
    @Excel(name = "所属单位ID")
    private String affiliatedUnitId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String affiliatedUnit;

    public void setPlanId(String planId) 
    {
        this.planId = planId;
    }

    public String getPlanId() 
    {
        return planId;
    }
    public void setPlanCode(String planCode) 
    {
        this.planCode = planCode;
    }

    public String getPlanCode() 
    {
        return planCode;
    }
    public void setPlanName(String planName) 
    {
        this.planName = planName;
    }

    public String getPlanName() 
    {
        return planName;
    }
    public void setPlanTypeId(String planTypeId) 
    {
        this.planTypeId = planTypeId;
    }

    public String getPlanTypeId() 
    {
        return planTypeId;
    }
    public void setPlanType(String planType) 
    {
        this.planType = planType;
    }

    public String getPlanType() 
    {
        return planType;
    }
    public void setPlanLevelId(String planLevelId) 
    {
        this.planLevelId = planLevelId;
    }

    public String getPlanLevelId() 
    {
        return planLevelId;
    }
    public void setPlanLevel(String planLevel) 
    {
        this.planLevel = planLevel;
    }

    public String getPlanLevel() 
    {
        return planLevel;
    }
    public void setRecordCode(String recordCode) 
    {
        this.recordCode = recordCode;
    }

    public String getRecordCode() 
    {
        return recordCode;
    }
    public void setSignerId(String signerId) 
    {
        this.signerId = signerId;
    }

    public String getSignerId() 
    {
        return signerId;
    }
    public void setSigner(String signer) 
    {
        this.signer = signer;
    }

    public String getSigner() 
    {
        return signer;
    }
    public void setRecordTime(Date recordTime) 
    {
        this.recordTime = recordTime;
    }

    public Date getRecordTime() 
    {
        return recordTime;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setCreateByName(String createByName) 
    {
        this.createByName = createByName;
    }

    public String getCreateByName() 
    {
        return createByName;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateByName(String updateByName) 
    {
        this.updateByName = updateByName;
    }

    public String getUpdateByName() 
    {
        return updateByName;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setSorting(Long sorting) 
    {
        this.sorting = sorting;
    }

    public Long getSorting() 
    {
        return sorting;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setExtra1(String extra1) 
    {
        this.extra1 = extra1;
    }

    public String getExtra1() 
    {
        return extra1;
    }
    public void setExtra2(String extra2) 
    {
        this.extra2 = extra2;
    }

    public String getExtra2() 
    {
        return extra2;
    }
    public void setExtra3(String extra3) 
    {
        this.extra3 = extra3;
    }

    public String getExtra3() 
    {
        return extra3;
    }
    public void setExtra4(String extra4) 
    {
        this.extra4 = extra4;
    }

    public String getExtra4() 
    {
        return extra4;
    }
    public void setAffiliatedUnitId(String affiliatedUnitId) 
    {
        this.affiliatedUnitId = affiliatedUnitId;
    }

    public String getAffiliatedUnitId() 
    {
        return affiliatedUnitId;
    }
    public void setAffiliatedUnit(String affiliatedUnit) 
    {
        this.affiliatedUnit = affiliatedUnit;
    }

    public String getAffiliatedUnit() 
    {
        return affiliatedUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("planId", getPlanId())
            .append("planCode", getPlanCode())
            .append("planName", getPlanName())
            .append("planTypeId", getPlanTypeId())
            .append("planType", getPlanType())
            .append("planLevelId", getPlanLevelId())
            .append("planLevel", getPlanLevel())
            .append("recordCode", getRecordCode())
            .append("signerId", getSignerId())
            .append("signer", getSigner())
            .append("recordTime", getRecordTime())
            .append("filePath", getFilePath())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateAt", getUpdateAt())
            .append("sorting", getSorting())
            .append("remark", getRemark())
            .append("version", getVersion())
            .append("status", getStatus())
            .append("extra1", getExtra1())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .append("extra4", getExtra4())
            .append("affiliatedUnitId", getAffiliatedUnitId())
            .append("affiliatedUnit", getAffiliatedUnit())
            .toString();
    }
}
